package wisents.api;

/**
 * User: paul.szulc Date: Dec 19, 2009 Time: 11:51:48 AM
 */
public abstract class WisentsTestBase {

    public final void click(Clickable clickable) {
        clickable.click();
    }

    public final void ajaxClick(Clickable clickable) {
        clickable.ajaxClick();
    }

    public final void assertThat(Criterias pageElementCriterias) {
        pageElementCriterias.assertCriterias();
    }

    public final FormRepresentation fill(FormRepresentation formRepresentation) {
        return formRepresentation;
    }

    public final void enter(PageRepresentation page) {
        page.enter();
    }

    public final void assertRenderedPage(PageRepresentation page) {
        page.isRendered();
    }
}
